import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/shoplist',
      component: () => import('../views/ShopList.vue'),
    },
    {
      path: '/shopupd',
      component: () => import('../views/ShopUpd.vue'),
    },
    {
      path: '/gaoadd',
      component: () => import('../views/Gonggaoadd.vue'),
    },
    {
      path: '/gaolist',
      component: () => import('../views/Gonggaolist.vue'),
    },
  ],
})

export default router
